<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddPayTimeToFeeAnnualOrder extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('fee_annual_order', function (Blueprint $table) {
            $table->unsignedInteger('payTime')->default(0)->comment('支付时间')->after('endTime');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('fee_annual_order', function (Blueprint $table) {
            $table->dropColumn('payTime');
        });
    }
}
